var fs = require("fs")

export function getDatabaseConfig () {
    // 异步读取
    let listDatabase = fs.readFileSync(`${__static}/DatabaseConfig.txt`).toString();
    return listDatabase;
}

export function saveDatabaseConfig (obj) {
    // 异步读取
    let listDatabase = fs.readFileSync(`${__static}/DatabaseConfig.txt`).toString();
    return listDatabase;
}